As the dash uses different widths and radii for left and right
borders, we need to use different CSS when it is positioned at
the right of the screen.
https://bugzilla.gnome.org/show_bug.cgi?id=642721
border-radius: 0px 9px 9px 0px;
}
+#dash:rtl {
+ border-left: 1px;
+ border-right: 0px;
+ border-radius: 9px 0px 0px 9px;
+}
+
#dash:empty {
height: 100px;
width: 60px;
clip_to_allocation: true });
this._box._delegate = this;
+ // This will eventually be automatic, see
+ // https://bugzilla.gnome.org/show_bug.cgi?id=584662
+ if (St.Widget.get_default_direction () == St.TextDirection.RTL)
+ this._box.add_style_pseudo_class('rtl');
+
this.actor = new St.Bin({ y_align: St.Align.START, child: this._box });
this.actor.connect('notify::height', Lang.bind(this,
function() {